import common from "../common";
import constants from "../constants";

const sysUserResourceApi = {
	findUserResourcesByUserId: (data, success, error) => {
		return common.requestData(constants.API_FindResource4User, data, success, error);
	},
	saveUserResources: (data, success, error) => {
		return common.requestData(constants.API_SaveResourceList2User, data, success, error);
	},
};

export default sysUserResourceApi;
